package com.admin.business.background.venusOaDiscoloration;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @description: app致灰
 * @create: 2023-11-04 17:34:44
 **/
@DS("user")
@Mapper
public interface VenusOaDiscolorationDao{
    /**添加app致灰数据*/
    void addVenusOaDiscoloration(CDO cdo);

    /**添加app致灰数据*/
    void addOrUpdateVenusOaDiscoloration(CDO cdo);

    /**根据Id更新app致灰数据*/
    int updateVenusOaDiscolorationById(CDO cdo);

    /**根据Id删除app致灰数据*/
    int deleteVenusOaDiscolorationById(Integer id);

    /**根据条件删除app致灰数据*/
    int deleteVenusOaDiscoloration(CDO cdo);

    /**根据id获取app致灰数据*/
    CDO getVenusOaDiscolorationById(Integer id);

    /**根据非空条件获取app致灰数据列表*/
    List<CDO> getVenusOaDiscolorationListPage(CDO cdo);

    /**根据混合条件获取app致灰数据列表*/
    List<CDO> getVenusOaDiscolorationListPageByCondition(CDO cdo);

    /**获取app致灰数据条数*/
    int getVenusOaDiscolorationCount(CDO cdo);

    List<CDO> cycleDiscolor();
}
